package com.yra.service;

import com.yra.domain.Carousel;
import com.yra.util.PageQueryUtil;
import com.yra.util.PageResult;

import java.util.List;

/**
 * @Author: yrq
 * @Date: Create in 9:35 2019/12/17
 */
public interface CarouselService {
    PageResult getCarouselPage(PageQueryUtil pageQueryUtil);

    Boolean insertCarousel(Carousel carousel);

    Boolean updateCarousel(Carousel carousel);

    Boolean deleteCarouselByIds(int[] ids);

    List<Carousel> queryCarouselForIndex(int limit);
}
